package com.example.sql_2_code_demo.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 订单商品属性表(OrderItemDetail)实体类
 *
 * @author makejava
 * @since 2022-10-09 10:01:37
 */
public class OrderItemDetail implements Serializable {
    private static final long serialVersionUID = 779408338952253193L;
    /**
     * 主键id
     */
    private Long id;
    /**
     * 租户ID
     */
    private Long createDept;
    /**
     * 更新人ID
     */
    private Long updateUser;
    /**
     * 创建人ID
     */
    private Long createUser;
    /**
     * 删除状态：0->未删除；2->已删除
     */
    private Integer isDeleted;
    /**
     * 订单商品表ID
     */
    private Long orderItemId;
    /**
     * 属性名
     */
    private String attributeName;
    /**
     * 属性值
     */
    private String attributeValue;
    /**
     * 商品属性值类型，（0填写值，无关外表；1关联外表id ）
     */
    private Long specValueType;
    /**
     * 商品属性值类型具体外表，（0：商品--套餐版本表goods_spec和goods_spec_value，1：会员缴费表membership ；新功能补充...
     */
    private Long specValueTypeReftb;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 启用禁止状态：0->启用；1->禁用
     */
    private Integer status;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 租户ID
     */
    private Long tenantId;
    /**
     * 属性名id，参考 goods_spec 表的id
     */
    private Long specId;
    /**
     * 属性值id，参考goods_spec_value 表的id
     */
    private Long specValueId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCreateDept() {
        return createDept;
    }

    public void setCreateDept(Long createDept) {
        this.createDept = createDept;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Long getOrderItemId() {
        return orderItemId;
    }

    public void setOrderItemId(Long orderItemId) {
        this.orderItemId = orderItemId;
    }

    public String getAttributeName() {
        return attributeName;
    }

    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName;
    }

    public String getAttributeValue() {
        return attributeValue;
    }

    public void setAttributeValue(String attributeValue) {
        this.attributeValue = attributeValue;
    }

    public Long getSpecValueType() {
        return specValueType;
    }

    public void setSpecValueType(Long specValueType) {
        this.specValueType = specValueType;
    }

    public Long getSpecValueTypeReftb() {
        return specValueTypeReftb;
    }

    public void setSpecValueTypeReftb(Long specValueTypeReftb) {
        this.specValueTypeReftb = specValueTypeReftb;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public Long getSpecId() {
        return specId;
    }

    public void setSpecId(Long specId) {
        this.specId = specId;
    }

    public Long getSpecValueId() {
        return specValueId;
    }

    public void setSpecValueId(Long specValueId) {
        this.specValueId = specValueId;
    }

}

